package ltd.hanamaki.review.basic;

public class Demo02 {

    public static void main(String[] args) {

        int e = 3;
        System.out.println(e);// 3
        int f = e++;
        System.out.println(e);//  4
        System.out.println(f);//  3
        int g = ++e;
        System.out.println(e);//  5
        System.out.println(g);// 5


        int z = 5;
        boolean flag = (z < 4) && (z++ < 4);
        System.out.println(flag);
        System.out.println(z);
    }
}
